\hypertarget{classTuna_1_1GeneralEquation}{
\subsection{Tuna::GeneralEquation$<$ Teq $>$ Class Template Reference}
\label{classTuna_1_1GeneralEquation}\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}}
}


General class for equations.  


\subsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef Typeinfo$<$ Teq $>$::\hyperlink{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{prec\_\-t} \hyperlink{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{prec\_\-t}
\begin{DoxyCompactList}\small\item\em Precision used for the numerical operations. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTuna_1_1GeneralEquation_a674b04baf966a2a4f3b772f166e11642}{
\hyperlink{classTuna_1_1GeneralEquation_a674b04baf966a2a4f3b772f166e11642}{GeneralEquation} ()}
\label{classTuna_1_1GeneralEquation_a674b04baf966a2a4f3b772f166e11642}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1GeneralEquation_a45df58f46b2fd27ade2da0c69bf273fd}{GeneralEquation} (ScalarField \&, DiagMat \&, ScalarField \&)
\begin{DoxyCompactList}\small\item\em In this constructor {\ttfamily phi} is a copy of a global field variable. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1GeneralEquation_a71eebad555f8c90bcd26fc011afdc8a7}{GeneralEquation} (ScalarField \&, DiagMat \&, ScalarField \&, const floatTinyArray\_\-t \&)
\begin{DoxyCompactList}\small\item\em In this constructor {\ttfamily phi} is a copy of a global field variable. \end{DoxyCompactList}\item 
Teq \& \hyperlink{classTuna_1_1GeneralEquation_aac63dc10324dcfdd7aaabdc63ec0c67f}{asDerived} ()
\begin{DoxyCompactList}\small\item\em The Curiously Recursive Template Pattern (CRTP) is used. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_afab260da87049ae64d98f3b9b959887b}{setLinearSystem} (DiagMat \&, ScalarField \&)
\begin{DoxyCompactList}\small\item\em Setup the Linear System. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_a25136e525b1fe03af821d085080d4992}{setDirichlet} (BC\_\-t wall, \hyperlink{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{prec\_\-t} w\_\-v=0.0)
\begin{DoxyCompactList}\small\item\em Setup Dirichlet boundary conditions on walls. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_af5cdc5a89b6c1c314bd203055ff456de}{setNeumann} (BC\_\-t wall, \hyperlink{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{prec\_\-t} w\_\-v=0.0)
\begin{DoxyCompactList}\small\item\em Setup Neumann boundary conditions on walls. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1GeneralEquation_ae0dd56c6ade4cfc084c34ff5fd772c8f}{
void \hyperlink{classTuna_1_1GeneralEquation_ae0dd56c6ade4cfc084c34ff5fd772c8f}{applyBoundaryConditions1D} ()}
\label{classTuna_1_1GeneralEquation_ae0dd56c6ade4cfc084c34ff5fd772c8f}

\begin{DoxyCompactList}\small\item\em Application of Dirichlet and Neumann boundary conditions in 1D. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1GeneralEquation_ae2b4682ab94f7bfe3d0a4956962a577e}{
void \hyperlink{classTuna_1_1GeneralEquation_ae2b4682ab94f7bfe3d0a4956962a577e}{applyBoundaryConditions2D} ()}
\label{classTuna_1_1GeneralEquation_ae2b4682ab94f7bfe3d0a4956962a577e}

\begin{DoxyCompactList}\small\item\em Application of Dirichlet and Neumann boundary conditions in 2D. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1GeneralEquation_a3645e8125190644008ed8848f4ba3caf}{
void \hyperlink{classTuna_1_1GeneralEquation_a3645e8125190644008ed8848f4ba3caf}{applyBoundaryConditions3D} ()}
\label{classTuna_1_1GeneralEquation_a3645e8125190644008ed8848f4ba3caf}

\begin{DoxyCompactList}\small\item\em Application of Dirichlet and Neumann boundary conditions in 3D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_a7809997f260ee040de62a07629fa574e}{applyDirichlet1D} ()
\begin{DoxyCompactList}\small\item\em Dirichlet boundary condition in 1D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_ae9e0bf89858afdba0282be1cbc12b072}{applyDirichlet2D} ()
\begin{DoxyCompactList}\small\item\em Dirichlet boundary condition in 2D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_ac362ca4fe4517c17e47b1c3077fdc146}{applyDirichlet3D} ()
\begin{DoxyCompactList}\small\item\em Dirichlet boundary condition in 3D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_a9e817253cb759e787244a4b917ee2ee9}{applyNeumann1D} ()
\begin{DoxyCompactList}\small\item\em Neumann boundary condition in 1D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_ae11b4f1d25e239aba5e7feee69ab20dc}{applyNeumann2D} ()
\begin{DoxyCompactList}\small\item\em Neumann boundary condition in 2D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1GeneralEquation_a9ad19dbf5779b235447ac056514b4eb9}{applyNeumann3D} ()
\begin{DoxyCompactList}\small\item\em Neumann boundary condition in 3D. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
\subsubsection*{template$<$typename Teq$>$class Tuna::GeneralEquation$<$ Teq $>$}

This class is a model for the concept \char`\"{}General Equation\char`\"{} defined in the analysis and design of my doctoral thesis. It is the base class to derive all discretized governing equations, using Finite Volume Method.

\begin{DoxyAuthor}{Author}
Luis M. de la Cruz \mbox{[} Sat May 2 18:11:12 CDT 2009 \mbox{]} 
\end{DoxyAuthor}


Definition at line 46 of file GeneralEquation.hpp.



\subsubsection{Member Typedef Documentation}
\hypertarget{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!prec\_\-t@{prec\_\-t}}
\index{prec\_\-t@{prec\_\-t}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{prec\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq$>$ typedef Typeinfo$<$Teq$>$::{\bf prec\_\-t} {\bf Tuna::GeneralEquation}$<$ Teq $>$::{\bf prec\_\-t}}}
\label{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}


Reimplemented in \hyperlink{classTuna_1_1Momentum__XCoDi_a9c64180e74e18bae52da3a87dcd0ba1b}{Tuna::Momentum\_\-XCoDi$<$ Tscheme $>$}, \hyperlink{classTuna_1_1Momentum__YCoDi_a0520fc328ea72fa9983059257f390d0f}{Tuna::Momentum\_\-YCoDi$<$ Tscheme $>$}, \hyperlink{classTuna_1_1Momentum__ZCoDi_a625a2c2312164b56a41760486aaccb97}{Tuna::Momentum\_\-ZCoDi$<$ Tscheme $>$}, \hyperlink{classTuna_1_1PressureCorrection_a87ec986ffd769cebe68fd7523f30a302}{Tuna::PressureCorrection$<$ Tscheme $>$}, \hyperlink{classTuna_1_1ScalarEquation_a3dfb3d6e0b1330e8acfbb7087ea083a8}{Tuna::ScalarEquation$<$ Tscheme $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ Tscheme $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLES3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLES4$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLES1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ WFIP1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLES2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP1P$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP8$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP5$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLES7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP6$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLES5$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES4$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLIP3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLIP4$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLIP1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLIP2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES1P$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ WFES1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES8$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLIP7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES5$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSES6$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ BLIP5$<$ Tprec, Dim $>$ $>$}, and \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{Tuna::TwoPhaseEquation$<$ FSIP4$<$ Tprec, Dim $>$ $>$}.



Definition at line 50 of file GeneralEquation.hpp.



\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classTuna_1_1GeneralEquation_a45df58f46b2fd27ade2da0c69bf273fd}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!GeneralEquation@{GeneralEquation}}
\index{GeneralEquation@{GeneralEquation}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{GeneralEquation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ {\bf Tuna::GeneralEquation}$<$ Teq $>$::{\bf GeneralEquation} (
\begin{DoxyParamCaption}
\item[{ScalarField \&}]{phi\_\-global, }
\item[{DiagMat \&}]{matrix, }
\item[{ScalarField \&}]{b}
\end{DoxyParamCaption}
)}}
\label{classTuna_1_1GeneralEquation_a45df58f46b2fd27ade2da0c69bf273fd}
{\ttfamily phi} is used to storage the solution in each iteration of the solver. 

Definition at line 223 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_a71eebad555f8c90bcd26fc011afdc8a7}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!GeneralEquation@{GeneralEquation}}
\index{GeneralEquation@{GeneralEquation}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{GeneralEquation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ {\bf Tuna::GeneralEquation}$<$ Teq $>$::{\bf GeneralEquation} (
\begin{DoxyParamCaption}
\item[{ScalarField \&}]{phi\_\-global, }
\item[{DiagMat \&}]{matrix, }
\item[{ScalarField \&}]{b, }
\item[{const floatTinyArray\_\-t \&}]{deltas}
\end{DoxyParamCaption}
)}}
\label{classTuna_1_1GeneralEquation_a71eebad555f8c90bcd26fc011afdc8a7}
{\ttfamily phi} is used to storage the solution in each iteration of the solver. 

Definition at line 257 of file GeneralEquation.hpp.



\subsubsection{Member Function Documentation}
\hypertarget{classTuna_1_1GeneralEquation_aac63dc10324dcfdd7aaabdc63ec0c67f}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!asDerived@{asDerived}}
\index{asDerived@{asDerived}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{asDerived}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq$>$ Teq\& {\bf Tuna::GeneralEquation}$<$ Teq $>$::asDerived (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_aac63dc10324dcfdd7aaabdc63ec0c67f}
\hyperlink{classTuna_1_1GeneralEquation_aac63dc10324dcfdd7aaabdc63ec0c67f}{asDerived()} gets an returns a reference to the derived class. 

Reimplemented in \hyperlink{classTuna_1_1Momentum__XCoDi_a9a90652dd51be81d5e3538e7be350cd1}{Tuna::Momentum\_\-XCoDi$<$ Tscheme $>$}, \hyperlink{classTuna_1_1Momentum__YCoDi_a6626e86a8f357bcca758764585774e50}{Tuna::Momentum\_\-YCoDi$<$ Tscheme $>$}, \hyperlink{classTuna_1_1Momentum__ZCoDi_a42e70d7536537b2381c57cd35c4251f8}{Tuna::Momentum\_\-ZCoDi$<$ Tscheme $>$}, \hyperlink{classTuna_1_1PressureCorrection_ae272c45f4ddcd2036b3d186f2f83875b}{Tuna::PressureCorrection$<$ Tscheme $>$}, \hyperlink{classTuna_1_1ScalarEquation_a5ea21cc6e4ba35a7f5f01563a6211381}{Tuna::ScalarEquation$<$ Tscheme $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ Tscheme $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLES3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLES4$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLES1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ WFIP1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLES2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP1P$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP8$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP5$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLES7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP6$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLES5$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES4$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLIP3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLIP4$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLIP1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLIP2$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES1P$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ WFES1$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES8$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLIP7$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES5$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP3$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSES6$<$ Tprec, Dim $>$ $>$}, \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ BLIP5$<$ Tprec, Dim $>$ $>$}, and \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{Tuna::TwoPhaseEquation$<$ FSIP4$<$ Tprec, Dim $>$ $>$}.



Definition at line 66 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_afab260da87049ae64d98f3b9b959887b}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!setLinearSystem@{setLinearSystem}}
\index{setLinearSystem@{setLinearSystem}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{setLinearSystem}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::setLinearSystem (
\begin{DoxyParamCaption}
\item[{DiagMat \&}]{matrix, }
\item[{ScalarField \&}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_afab260da87049ae64d98f3b9b959887b}
The arrays {\ttfamily aE}, {\ttfamily aW}, {\ttfamily aN}, {\ttfamily aS}, {\ttfamily aF}, {\ttfamily aB}, {\ttfamily aP} and {\ttfamily sp} are references to global matrices and vectors used to storage the linear system. 

Definition at line 295 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_a25136e525b1fe03af821d085080d4992}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!setDirichlet@{setDirichlet}}
\index{setDirichlet@{setDirichlet}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{setDirichlet}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::setDirichlet (
\begin{DoxyParamCaption}
\item[{BC\_\-t}]{wall, }
\item[{{\bf prec\_\-t}}]{w\_\-v = {\ttfamily 0.0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_a25136e525b1fe03af821d085080d4992}
This function just moves the beginnings (bi,bj,bk) and endings (ei,ej,ek) of the Scalarfield arrays, and store the name of the wall where the condition was applied in the {\ttfamily dirichlet} container (stl::map). 

Definition at line 351 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_af5cdc5a89b6c1c314bd203055ff456de}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!setNeumann@{setNeumann}}
\index{setNeumann@{setNeumann}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{setNeumann}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::setNeumann (
\begin{DoxyParamCaption}
\item[{BC\_\-t}]{wall, }
\item[{{\bf prec\_\-t}}]{w\_\-v = {\ttfamily 0.0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_af5cdc5a89b6c1c314bd203055ff456de}
This function just moves the beginnings (bi,bj,bk) and endings (ei,ej,ek) of the Scalarfield arrays, and store the name of the wall where the condition was applied in the {\ttfamily neumann} container (stl::map). 

Definition at line 374 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_a7809997f260ee040de62a07629fa574e}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!applyDirichlet1D@{applyDirichlet1D}}
\index{applyDirichlet1D@{applyDirichlet1D}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{applyDirichlet1D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::applyDirichlet1D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_a7809997f260ee040de62a07629fa574e}
This function applies the Dirichlet boundary conditions iterating on the {\ttfamily dirichlet} container that was defined by the \hyperlink{classTuna_1_1GeneralEquation_a25136e525b1fe03af821d085080d4992}{setDirichlet()} function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. 

Definition at line 461 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_ae9e0bf89858afdba0282be1cbc12b072}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!applyDirichlet2D@{applyDirichlet2D}}
\index{applyDirichlet2D@{applyDirichlet2D}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{applyDirichlet2D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::applyDirichlet2D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_ae9e0bf89858afdba0282be1cbc12b072}
This function applies the Dirichlet boundary conditions iterating on the {\ttfamily dirichlet} container that was defined by the \hyperlink{classTuna_1_1GeneralEquation_a25136e525b1fe03af821d085080d4992}{setDirichlet()} function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. 

Definition at line 515 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_ac362ca4fe4517c17e47b1c3077fdc146}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!applyDirichlet3D@{applyDirichlet3D}}
\index{applyDirichlet3D@{applyDirichlet3D}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{applyDirichlet3D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::applyDirichlet3D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_ac362ca4fe4517c17e47b1c3077fdc146}
This function applies the Dirichlet boundary conditions iterating on the {\ttfamily dirichlet} container that was defined by the \hyperlink{classTuna_1_1GeneralEquation_a25136e525b1fe03af821d085080d4992}{setDirichlet()} function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. 

Definition at line 616 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_a9e817253cb759e787244a4b917ee2ee9}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!applyNeumann1D@{applyNeumann1D}}
\index{applyNeumann1D@{applyNeumann1D}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{applyNeumann1D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::applyNeumann1D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_a9e817253cb759e787244a4b917ee2ee9}
This function applies the Neumann boundary conditions iterating on the {\ttfamily neumann} container that was defined by the \hyperlink{classTuna_1_1GeneralEquation_af5cdc5a89b6c1c314bd203055ff456de}{setNeumann()} function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. 

Definition at line 752 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_ae11b4f1d25e239aba5e7feee69ab20dc}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!applyNeumann2D@{applyNeumann2D}}
\index{applyNeumann2D@{applyNeumann2D}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{applyNeumann2D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::applyNeumann2D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_ae11b4f1d25e239aba5e7feee69ab20dc}
This function applies the Neumann boundary conditions iterating on the {\ttfamily neumann} container that was defined by the \hyperlink{classTuna_1_1GeneralEquation_af5cdc5a89b6c1c314bd203055ff456de}{setNeumann()} function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. 

Definition at line 783 of file GeneralEquation.hpp.

\hypertarget{classTuna_1_1GeneralEquation_a9ad19dbf5779b235447ac056514b4eb9}{
\index{Tuna::GeneralEquation@{Tuna::GeneralEquation}!applyNeumann3D@{applyNeumann3D}}
\index{applyNeumann3D@{applyNeumann3D}!Tuna::GeneralEquation@{Tuna::GeneralEquation}}
\paragraph[{applyNeumann3D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Teq $>$ void {\bf Tuna::GeneralEquation}$<$ Teq $>$::applyNeumann3D (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1GeneralEquation_a9ad19dbf5779b235447ac056514b4eb9}
This function applies the Neumann boundary conditions iterating on the {\ttfamily neumann} container that was defined by the \hyperlink{classTuna_1_1GeneralEquation_af5cdc5a89b6c1c314bd203055ff456de}{setNeumann()} function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. 

Definition at line 825 of file GeneralEquation.hpp.

